/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.anny.shopcart.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.anny.shopcart.entity.AnnyShopCart;
import com.jeeplus.modules.anny.shopcart.mapper.AnnyShopCartMapper;

/**
 * 购物车Service
 * @author linzx
 * @version 2018-10-17
 */
@Service
@Transactional(readOnly = true)
public class AnnyShopCartService extends CrudService<AnnyShopCartMapper, AnnyShopCart> {

	public AnnyShopCart get(String id) {
		return super.get(id);
	}
	
	public List<AnnyShopCart> findList(AnnyShopCart annyShopCart) {
		return super.findList(annyShopCart);
	}
	
	public Page<AnnyShopCart> findPage(Page<AnnyShopCart> page, AnnyShopCart annyShopCart) {
		return super.findPage(page, annyShopCart);
	}
	
	@Transactional(readOnly = false)
	public void save(AnnyShopCart annyShopCart) {
		super.save(annyShopCart);
	}
	
	@Transactional(readOnly = false)
	public void delete(AnnyShopCart annyShopCart) {
		super.delete(annyShopCart);
	}
	
}